package com.szcinda.service.dto.role;

import com.szcinda.repository.Role;
import com.szcinda.service.dto.role.RoleCreateDto;
import com.szcinda.service.dto.role.RoleUpdateDto;

import java.util.List;

public interface RoleService {
    void create(RoleCreateDto createDto);

    void update(RoleUpdateDto updateDto);

    List<Role> findAll();

    List<Role> findAllWithoutSuperAdmin();

    void delete(String id, String userId);
}
